package com.spring;

import com.spring.springAnnotation.ComponentScan;

public class ConfigReader {
//    根据config获取path
    public static String getPath(Class configClass) {
        ComponentScan componentScan = (ComponentScan) configClass.getAnnotation(ComponentScan.class);
        return componentScan.value();
    }
}
